package com.migraine.service;

import com.migraine.model.Rooms;

import java.util.Date;
import java.util.List;

public interface RoomsService {
    boolean insertRoom(int id, String roomname, String creator, Date date,int limit,int type,String password,int secret);

    boolean deleteRoom(int id);

    int getRoomType(int id);

    List<Integer> getAllId();

    List<Rooms> getAllRooms();

    Rooms getRoomsById(int roomId);

    String getRoomPasswordById(String roomId);
}
